<div class="container-fluid kj-list-container">
	<div class="kj-list-content-container card">
		<form id="roleModalQueryForm"
			class="form-horizontal kj-list-queryFrom">
			
			<input type="hidden" name="exceptFkUserId" th:value="${exceptFkUserId}" />

			<div class="kj-list-queryFrom-container">
				<div class="kj-list-queryFrom-item">
					<div class="form-group col-sm-12">
						<label
							class="col-sm-1 control-label kj-list-query-label"
							title="角色名称"
						>角色名称</label>
						<div class="col-sm-2">
							<input
								type="text"
								class="form-control input-sm input-sm"
								name="roleName"
								placeholder="角色名称" />
						</div>

						<label
							class="col-sm-1 control-label kj-list-query-label"
							title="角色代码"
						>角色代码</label>
						<div class="col-sm-2">
							<input
								type="text"
								class="form-control input-sm"
								name="roleCode"
								placeholder="角色代码" />
						</div>
						
						<label
							class="col-sm-1 control-label kj-list-query-label"
							title="角色描述"
						>角色描述</label>
						<div class="col-sm-2">
							<input
								type="text"
								class="form-control input-sm"
								name="roleDescription"
								placeholder="角色描述" />
						</div>

						<label
							class="col-sm-1 control-label kj-list-query-label"
							for=""
							title="测试自动参数项"
						>测试自动参数项</label>
						<div class="col-sm-2">
							<select
								id="test"
								class="form-control input-sm"
								name=""
								data-option="请选择"
								kjlink:pcode="test"
							></select>
						</div>
					</div>
					
					<div class="form-group col-sm-12">
						<div class="col-sm-9 kj-list-query-btn-container"></div>
						<div class="col-sm-3 kj-list-query-btn-container">
							<button
								type="button"
								class="btn btn-sm btn-default kj-btn-query query"
							>
								<i class="iconfont icon-chaxun"></i> 查询
							</button>
							<button
								type="button"
								class="btn btn-sm btn-default kj-btn-reset reset"
								>
								<i class="iconfont icon-zhongzhi"></i>重置
							</button>
                           </div>
					</div>
				</div>
			</div>
		</form>

		<!-- 这个列表应该只加载当前用户可添加且未添加的角色 -->
		<table
			id="roleModalTable"
			class="table table-bordered table-hover table-striped bootstrapTable kj-list-container-only-table"
			data-list-url="/system/role/list"
			data-toolbar="#roleModalQueryForm"
		>
			<thead>
				<tr>
					<th data-checkbox="true"></th>
					<th data-field="roleName" data-sortable="true">角色名称</th>
					<th data-field="roleCode" data-sortable="true">角色代码</th>
					<th data-field="roleDescription" data-sortable="true">角色描述</th>
					<th data-field="enableFlag" data-formatter="showEnbale"
						data-sortable="true">状态</th>
					<th data-field="createDate" data-sortable="true">创建时间</th>
				</tr>
			</thead>
		</table>
	</div>
</div>